/*
 * Copyright (c) 2011, @author www.Noday.net
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package net.noday.demo.domain;

import java.io.Serializable;

public class User implements Serializable {

	private static final long serialVersionUID = 8561396192440351530L;
	/**用户标识 */
	private long uid;
	/**用户邮箱账号*/
	private String email;
	/** 用户密码*/
	private String password;
	/** 用户昵称*/
	private String nickname;
	/** 用户网站*/
	private String homepage;
	/** 用户联络方式*/
	private String address;
	/** 用户经验*/
	private int experience;
	/** 用户组*/
	private String userGroup;
	/** 用户注册日期*/
	private String createDate;
	/** 用户注册ip*/
	private String createIp;
	/** 用户是否激活*/
	private boolean active;
	/** 用户最后登录日期*/
	private String lastLoginTime;
	/** 用户最后登录ip*/
	private String lastLoginIp;
	/** 用户uuid标识*/
	private String uuid;
	/** 用户uuid有效时间*/
	private String uuidValid;
	/** 管理员备注*/
	private String description;
	
	public long getUid() {
		return uid;
	}
	public void setUid(long uid) {
		this.uid = uid;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getHomepage() {
		return homepage;
	}
	public void setHomepage(String homepage) {
		this.homepage = homepage;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public int getExperience() {
		return experience;
	}
	public void setExperience(int experience) {
		this.experience = experience;
	}
	public String getUserGroup() {
		return userGroup;
	}
	public void setUserGroup(String userGroup) {
		this.userGroup = userGroup;
	}
	public String getCreateDate() {
		return createDate;
	}
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	public String getCreateIp() {
		return createIp;
	}
	public void setCreateIp(String createIp) {
		this.createIp = createIp;
	}
	public boolean isActive() {
		return active;
	}
	public void setActive(boolean active) {
		this.active = active;
	}
	public String getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(String lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public String getLastLoginIp() {
		return lastLoginIp;
	}
	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}
	public String getUuid() {
		return uuid;
	}
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	public String getUuidValid() {
		return uuidValid;
	}
	public void setUuidValid(String uuidValid) {
		this.uuidValid = uuidValid;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public User() {
		super();
	}
	public User(long uid, String email, String password, String nickname,
			String homepage, String address, int experience, String group,
			String createDate, String createIp, boolean active,
			String lastLoginTime, String lastLoginIp, String uuid,
			String uuidValid, String description) {
		super();
		this.uid = uid;
		this.email = email;
		this.password = password;
		this.nickname = nickname;
		this.homepage = homepage;
		this.address = address;
		this.experience = experience;
		this.userGroup = group;
		this.createDate = createDate;
		this.createIp = createIp;
		this.active = active;
		this.lastLoginTime = lastLoginTime;
		this.lastLoginIp = lastLoginIp;
		this.uuid = uuid;
		this.uuidValid = uuidValid;
		this.description = description;
	}
	
}
